import {BrowserRouter as Router,Route,Switch} from "react-router-dom";
import React from 'react'

import MainPage from "./picpages/main"
import ChPage from "./picpages/testchoice";


export default function IRouter() {
    return <Router>

        <Switch>

        <Route  path="/main" component={MainPage}></Route>
        <Route  path="/" component={ChPage}></Route>


        </Switch>

    </Router>
}